<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>index</title>

    <link href="../../easyui/themes/default/easyui.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="../../easyui/themes/icon.css"/>

    <script src="../../easyui/jquery.min.js" type="text/javascript"></script>

    <script src="../../easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../../js/common/constant.js" type="text/javascript"></script>
    <script src="../../js/common/common.js" type="text/javascript"></script>
    <script src="../../js/sysrole/Init.js" type="text/javascript"></script>
	<script src="../../js/sysrole/Add.js" type="text/javascript"></script>
	<script src="../../js/sysrole/Search.js" type="text/javascript"></script>
	<script src="../../js/sysrole/Update.js" type="text/javascript"></script>
    <script src="../../js/sysrole/cancel.js" type="text/javascript"></script>
</head>
<body class="easyui-layout">
<div region="center" style="padding: 5px;" border="false">
    <table id="rolegrid">
    </table>
</div>
<div id="roleadd" class="easyui-window" title="添加角色信息"
     data-options="modal:true,inline:true,closed:true,minimizable:false,maximizable:false,iconCls:'icon-add'"
     style="width:400px;height:350px;padding:10px;">
    <form id="form1" method="post">
        <div style="padding: 15px 10px 10px 25px;">

            <table style="text-align: center; width: auto" cellpadding="2px">
                <tr>
                    <td>
                        角色名称:
                    </td>
                    <td>
                        <input style="width: 250px;"
                               class="easyui-textbox" type="text" data-options="required:true"
                               name="role_name_add" id="role_name_add"/>
                    </td>
                </tr>
               <!-- <tr>
                    <td>
                        角色状态:
                    </td>
                    <td>
                        &lt;!&ndash;<input style="width: 250px;" class="easyui-textbox" type="text"
                               data-options="required:true" name="statusname_add" id="statusname_add"/>&ndash;&gt;
                        <input style="width: 250px;" class="easyui-combobox"
                               data-options="required:true,url:'combobox_data.json',method:'get',
					           valueField:'id',textField:'text',panelHeight:'auto'"
                               name="statusname_add" id="statusname_add"/>

                    </td>
                </tr>-->
                <tr>
                    <td>
                        菜单路径:
                    </td>
                    <td>

                        <input style="width: 250px;" class="easyui-textbox" type="text"
                               data-options="required:true"
                               name="menuitem_add" id="menuitem_add"/>

                        <!--<ul id="tt" class="easyui-tree" style="width: 250px; height: 250px;" data-options="required:true"></ul>-->

                    </td>
                </tr>
                <tr>
                    <td>
                        描述:
                    </td>
                    <td>
                        <input class="easyui-textbox" data-options="multiline:true"
                               style=" width:250px;height:100px" name="roleDesc_add" id="roleDesc_add">
                    </td>
                </tr>
            </table>
        </div>
        <div style="text-align: center; padding: 5px 5px 10px 10px">

            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:rolesubmitForm()" id="submit"
               iconcls="icon-save">添加</a> <a href="javascript:void(0)" class="easyui-linkbutton"
                                             onclick="javascript:rolecancel()"
                                             iconcls="icon-cancel">返回</a>

        </div>
    </form>
</div>
<div id="roleupdate" class="easyui-window" title="修改角色信息"
     data-options="modal:true,inline:true,closed:true,minimizable:false,maximizable:false,iconCls:'icon-save'"
     style="width:400px;height:350px;padding:10px;">
    <form id="form2">
        <div style="padding: 15px 10px 10px 25px;">
            <input style="width: 250px; display:none" class="easyui-validatebox" type="text"
                   data-options="required:true"
                   name="roleId_update" id="roleId_update"/>
            <table style="text-align: center; width: auto" cellpadding="2px">
                <tr>
                    <td>
                        角色名称:
                    </td>
                    <td>
                        <input style="width: 250px;"
                               class="easyui-textbox" type="text" data-options="required:true"
                               name="role_name_update" id="role_name_update"/>
                    </td>
                </tr>
                <!--<tr>
                    <td>
                        角色状态:
                    </td>
                    <td>
                        &lt;!&ndash;<input style="width: 250px;" class="easyui-textbox" type="text"
                               data-options="required:true" name="statusname_add" id="statusname_add"/>&ndash;&gt;
                        <input style="width: 250px;" class="easyui-combobox"
                               data-options="required:true,url:'combobox_data.json',method:'get',
					           valueField:'id',textField:'text',panelHeight:'auto'"
                               name="statusname_update" id="statusname_update"/>

                    </td>
                </tr>-->
                <tr>
                    <td>
                        菜单路径:
                    </td>
                    <td>
                        <input style="width: 250px;" class="easyui-textbox" type="text"
                               data-options="required:true"
                               name="menuitem_update" id="menuitem_update"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        描述:
                    </td>
                    <td>
                        <input class="easyui-textbox" data-options="multiline:true"
                               style=" width:250px;height:100px" name="roleDesc_update" id="roleDesc_update">
                    </td>
                </tr>
            </table>
        </div>
        <div style="text-align: center; padding: 5px 5px 10px 10px">

            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:roleupdateform()" id="updateForm"
               iconcls="icon-save">修改</a> <a href="javascript:void(0)" class="easyui-linkbutton"
                                             onclick="javascript:rolecancel()"
                                             iconcls="icon-cancel">返回</a>

        </div>
    </form>
</div>
<div id="rolesearch" class="easyui-window" title="查询角色信息"
     data-options="modal:true,inline:true,closed:true,minimizable:false,maximizable:false,iconCls:'icon-search'"
     style="width:450px;height:180px;padding:10px;">
    <form id="form3">
        <div style="padding: 15px 10px 10px 25px;">
            <table style="text-align: center; width: auto" cellpadding="2px">
                <tr>
                    <td>
                        角色名称:
                    </td>
                    <td>
                        <input style="width: 250px;"
                               class="easyui-textbox" type="text" data-options="required:true"
                               name="role_name_search" id="role_name_search"/>
                    </td>
                </tr>
            </table>
        </div>
        <div style="text-align: center; padding: 5px 5px 10px 10px">

            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:rolesearchform()"
               iconcls="icon-search">查询</a> <a href="javascript:void(0)" class="easyui-linkbutton"
                                               onclick="javascript:rolecancel()"
                                               iconcls="icon-cancel">返回</a>

        </div>
    </form>
</div>
</body>
</html>